package com.lzy.system.organization.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 导航菜单排序
 * </p>
 *
 * @author lcc
 * @since 2023-12-05
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "SysNav对象", description = "导航菜单排序")
public class SysNavSortDTO {

    @ApiModelProperty("导航id")
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty("父导航id")
    @NotNull(message = "父导航id不能为空")
    private Integer pid;

    @ApiModelProperty("导航排序")
    private Integer order_index;
}
